package songyuxin;
public class Course {

	private int id;
	private Object Coursename;
	private String place;
	private float floor;


	public Course(String Crousename, int id, String place, int floor) {
		this.id = id;
		this.Coursename = "basketball";
        this.place = place;
        this.floor = floor;
    }
public String toString() {
        return Coursename + "(课程名)" + "     课程编号：" + id + "   上课地点：" + place
                + "    楼层：" + floor + "f";
    }	
	

	public static void main(String[] args) {
	    Student me = new Student(202031794, "宋宇鑫", "男");
	    System.out.println("学生信息");
	    System.out.println(me);
	    Teacher b = new Teacher(30, "库里", "男", "篮球");
	    System.out.println("教师信息");
	    System.out.println(b);
	    Course c = new Course("篮球", 30, "教学楼103", 1);
	    System.out.println("课程信息");
	    System.out.println(c);
	    me.tuike();
	    me.delete();
	
	}
}
